package com.googlecode.lohr.parser.combinators.node;

public interface NodeVistor {
	/**
	 * Invoked when visiting a node in the tree
	 * @return true if children of this node should be visited
	 */
	public boolean visit(AbstractNode node);
	
	/**
	 * Invoked after invoking the visit method and visiting all children nodes   
	 */
	public void leave(AbstractNode node);
}
